package lab02.test15;

/**
 * Created by JAVA on 2017/10/20.
 */
public class Test {
    public static void main(String[] args) {

        Graduate zhangsan = new Graduate();
        zhangsan.pay = 10000;
        zhangsan.fee = 8000;
        if (zhangsan.getPay()-zhangsan.getFee() < 2000) {
            System.out.println(" you need a loan");
        } else {
            System.out.println("you income is enghou ");
        }
    }
}
